tools: libxl: pass correct file to qemu if we use blktap2
authorWen Congyang <wency@cn.fujitsu.com>
Mon, 22 Sep 2014 05:59:15 +0000 (13:59 +0800)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 22 Sep 2014 14:19:04 +0000 (15:19 +0100)
commit16529572dfa4968ef073f57ffda58f304d354ce0
treedac04c0d95434ea0706bd0bc2cd70841f6220d09
parent3460eeb3fc2811efcf2e8ac13a0882ab72ef92bc
tools: libxl: pass correct file to qemu if we use blktap2

If we use blktap2, the correct file should be blktap device
not the pdev_path.

Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Cc: Shriram Rajagopalan <rshriram@cs.ubc.ca>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/libxl_dm.c